package com.bootx.service;

import com.bootx.entity.AiRole;
import com.bootx.entity.AiRoleChatMessage;
import com.bootx.entity.Member;
import dev.langchain4j.data.message.ChatMessage;

import java.util.List;

/**
 * @author black
 */
public interface AiRoleChatMessageService extends BaseService<AiRoleChatMessage,Long>{
    List<ChatMessage> getHistory(Member member, AiRole aiRole);

    List<AiRoleChatMessage> findList(Member member, AiRole aiRole);
}
